/*
 * @Author: hukai huzhengen@gmail.com
 * @Date: 2025-06-11 15:52:52
 * @LastEditors: hukai huzhengen@gmail.com
 * @LastEditTime: 2025-08-25 15:52:00
 * @FilePath: \新建文件夹 (8)\foodOrderingSystem-ui\src\components\IconSelect\requireIcons.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

const req = require.context('../../assets/icons/svg', false, /\.svg$/)
const requireAll = requireContext => requireContext.keys()

const re = /\.\/(.*)\.svg/

const icons = requireAll(req).map(i => {
  return i.match(re)[1]
})

console.log(icons)
export default icons
